package com.ruoyi.bi.mapper.model;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.bi.domain.model.Dataset;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DatasetMapper extends BaseMapper<Dataset> {

	List<Dataset> listDataset();

	void updateDset(Dataset ds);

	void insertDset(Dataset ds);

	void deleteDset(@Param("dsetId") String dsetId);

	String getDatasetCfg(@Param("dsetId") String dsetId);

	void updateDsetCfg(Dataset ds);
}
